Integrand size = 13, antiderivative size = 52 \[ \int (c x)^m (a+b x)^n \, dx=\frac {(c x)^{1+m} (a+b x)^n \left (1+\frac {b x}{a}\right )^{-n} \operatorname {Hypergeometric2F1}\left (1+m,-n,2+m,-\frac {b x}{a}\right )}{c (1+m)} \]
[Out]
Time = 0.01 (sec) , antiderivative size = 52, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {68, 66} \[ \int (c x)^m (a+b x)^n \, dx=\frac {(c x)^{m+1} (a+b x)^n \left (\frac {b x}{a}+1\right )^{-n} \operatorname {Hypergeometric2F1}\left (m+1,-n,m+2,-\frac {b x}{a}\right )}{c (m+1)} \]
[In]
[Out]
Rule 66
Rule 68
Rubi steps \begin{align*} \text {integral}& = \left ((a+b x)^n \left (1+\frac {b x}{a}\right )^{-n}\right ) \int (c x)^m \left (1+\frac {b x}{a}\right )^n \, dx \\ & = \frac {(c x)^{1+m} (a+b x)^n \left (1+\frac {b x}{a}\right )^{-n} \, _2F_1\left (1+m,-n;2+m;-\frac {b x}{a}\right )}{c (1+m)} \\ \end{align*}
Time = 0.01 (sec) , antiderivative size = 48, normalized size of antiderivative = 0.92 \[ \int (c x)^m (a+b x)^n \, dx=\frac {x (c x)^m (a+b x)^n \left (1+\frac {b x}{a}\right )^{-n} \operatorname {Hypergeometric2F1}\left (1+m,-n,2+m,-\frac {b x}{a}\right )}{1+m} \]
[In]
[Out]
\[\int \left (c x \right )^{m} \left (b x +a \right )^{n}d x\]
[In]
[Out]
\[ \int (c x)^m (a+b x)^n \, dx=\int { {\left (b x + a\right )}^{n} \left (c x\right )^{m} \,d x } \]
[In]
[Out]
Result contains complex when optimal does not.
Time = 3.98 (sec) , antiderivative size = 37, normalized size of antiderivative = 0.71 \[ \int (c x)^m (a+b x)^n \, dx=\frac {a^{n} c^{m} x^{m + 1} \Gamma \left (m + 1\right ) {{}_{2}F_{1}\left (\begin {matrix} - n, m + 1 \\ m + 2 \end {matrix}\middle | {\frac {b x e^{i \pi }}{a}} \right )}}{\Gamma \left (m + 2\right )} \]
[In]
[Out]
\[ \int (c x)^m (a+b x)^n \, dx=\int { {\left (b x + a\right )}^{n} \left (c x\right )^{m} \,d x } \]
[In]
[Out]
\[ \int (c x)^m (a+b x)^n \, dx=\int { {\left (b x + a\right )}^{n} \left (c x\right )^{m} \,d x } \]
[In]
[Out]
Timed out. \[ \int (c x)^m (a+b x)^n \, dx=\int {\left (c\,x\right )}^m\,{\left (a+b\,x\right )}^n \,d x \]
[In]
[Out]